
<style type="text/css">
.main_column {
	margin-right: 20px;
}
</style>
<div class="box">
	<div class="header">
		Xuất file giao hàng
	</div>
	<div class="body">
		<div class="panes">
		<form action="<{$APPLICATION_URL}>/Admin/Tasks/transferShipping" method="post">
			<div>
			
				Ngày <input name="date" type="text" class="date" id="date" value="<{$smarty.now|date_format:"%Y-%m-%d"}>">
					
				 <ul>
				 	<{foreach from=$taskForEachShippinger item=item}>
				 		</li>
				 			<img src="<{$userEntity->getImage($item.picture)}>" alt="hinh"><b><{$item.fullname}></b> có <{$item.total}> đơn hàng
				 		</li> 
				 	<{/foreach}>
				 </ul>
				 <input type="submit" value="Xuất file" class="button" name="submit">	
				<div class="clear"></div>
			</div>
			</form>			
		</div>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){

	var date = new Date();
    var currentMonth = date.getMonth();
    var currentDate = date.getDate();
    var currentYear = date.getFullYear();

    $('.date').datepicker({
    	constrainInput: true,
    	dateFormat: 'yy-mm-dd',
        minDate: new Date(currentYear, currentMonth, currentDate)
    });
});
</script>